package com.jy.adscm.operation.cgxsb.bean;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yyy
 * @since 2019-03-12
 */
public class SporadicPurchasedetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer taskId;
    private String taskDescription;
    private Date startDate;
    private Date endDate;
    private String creator;
    @TableField("creatTime")
    private Date creatTime;
    private String managerAdvice;
    private String manager;
    @TableField("advice_creatTime")
    private Date adviceCreattime;
    @TableField("isNowTime")
    private String isNowTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTaskId() {
        return taskId;
    }

    public void setTaskId(Integer taskId) {
        this.taskId = taskId;
    }

    public String getTaskDescription() {
        return taskDescription;
    }

    public void setTaskDescription(String taskDescription) {
        this.taskDescription = taskDescription;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getStartDate() {
        return startDate;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getCreatTime() {
        return creatTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public String getManagerAdvice() {
        return managerAdvice;
    }

    public void setManagerAdvice(String managerAdvice) {
        this.managerAdvice = managerAdvice;
    }

    public String getManager() {
        return manager;
    }

    public void setManager(String manager) {
        this.manager = manager;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getAdviceCreattime() {
        return adviceCreattime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setAdviceCreattime(Date adviceCreattime) {
        this.adviceCreattime = adviceCreattime;
    }

    public String getIsNowTime() {
        return isNowTime;
    }

    public void setIsNowTime(String isNowTime) {
        this.isNowTime = isNowTime;
    }

    @Override
    public String toString() {
        return "SporadicPurchasedetail{" +
        "id=" + id +
        ", taskId=" + taskId +
        ", taskDescription=" + taskDescription +
        ", startDate=" + startDate +
        ", endDate=" + endDate +
        ", creator=" + creator +
        ", creatTime=" + creatTime +
        ", managerAdvice=" + managerAdvice +
        ", manager=" + manager +
        ", adviceCreattime=" + adviceCreattime +
        ", isNowTime=" + isNowTime +
        "}";
    }
}
